package com.css.fxfzaqbz.modules.assess1.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author y1fan
 * @create 2022-11-28 15:25
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DestoryRateEntity {

    private String id;
    @Excel(name = "省")
    private String province;
    @Excel(name = "市")
    private String city;
    @Excel(name = "区(县)")
    private String prefecture;

    @Excel(name = "结构类型")
    private String structureType;

    /**
     * 设防烈度
     */
/*    @Excel(name = "设防烈度")
    private String intensity;*/

    /*
    * 基本完好（破坏程度）
    * */
    @Excel(name = "基本完好")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal zero;
    /*
    轻微破坏（破坏程度）
    * */
    @Excel(name = "轻微破坏")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal one;
    /*
    *中等破坏（破坏程度）
    * */
    @Excel(name = "中等破坏")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal two;
    /*
    *严重破坏（破坏程度）
    * */
    @Excel(name = "严重破坏")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal three;
    /*
    *毁坏（破坏程度）
    * */
    @Excel(name = "毁坏")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal four;



    private String createUser;
    private Date createTime;
    private String updateUser;
    private Date updateTime;


    /*
    * 省ID
    * */
    private String provinceId;
    /*
    * 市ID
    * */
    private String cityId;
    /*
    * 区县ID
    * */
    private String prefectureId;

}
